﻿using nblTool.utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WebFirst.Entities;

namespace Jn698._45Tool.Service
{
    internal class EnumInfoService : IService<EnumInfo>
    {
        public int Delete(EnumInfo t)
        {
            throw new NotImplementedException();
        }

        public int DeleteAll()
        {
            throw new NotImplementedException();
        }

        public int Insert(EnumInfo t)
        {
            throw new NotImplementedException();
        }

        public EnumInfo Select(int Id)
        {
            throw new NotImplementedException();
        }

        public string SelectUnit(int EnumValue)
        {
            
            return SqlSugarHelper.Db.Queryable<EnumInfo>().Single(e=>e.EnumValue==EnumValue).EnumDes;
            
        }
        public EnumInfo Select(string Name)
        {
            throw new NotImplementedException();
        }

        public List<EnumInfo> Select()
        {
            throw new NotImplementedException();
        }

        public int Update(EnumInfo t)
        {
            throw new NotImplementedException();
        }
    }
}
